home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1997 August / Walnut Creek CDROM.7z / LISTINGS / V_12_05 / ALLISON.ZIP / CURSLOC.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1994-03-24  |  397 b   |  24 lines

  1. LISTING 15 - Imports Cursor functions into a local scope
  2. // tcursor.cpp:     Changes the shape of the cursor
  3.  
  4. #include <stdio.h>
  5. #include "cursor.h"
  6.  
  7. main()
  8. {
  9.     // using declarations
  10.     using Cursor::block();
  11.     using Cursor::line();
  12.     using Cursor::off();
  13.  
  14.     block();
  15.     getchar();
  16.     line();
  17.     getchar();
  18.     off();
  19.     getchar();
  20.     line();
  21.     return 0;
  22. }
  23.  
  24.